<template>
	<view class="main">
		<image :src="imgurl"></image>
		<view>{{name}}</view>
	</view>
</template>

<script>
	export default {
		name:"TeamUserImgAndname",
		data() {
			return {
				
			};
		},
		props:{
			imgurl:String,
			name:String
		}
	}
</script>

<style scoped>
.main{
	display: flex;
	flex-direction: column;
	width: 100rpx;
	// text-align: center;
	margin: 20rpx 0 0 20rpx;
}
.main image{
	height: 100rpx;
	width: 100rpx;
	border-radius: 50%;
	background-color: black;
}
.main view{
	text-align: center;
}
</style>